/ Assembly List / LJCNetCommon / NetCommon / Base64ToTextBytes

Namespace - LJCNetCommon


Parameters
base64 - The Base64 value.

Returns

The Text byte array.

Syntax

C#
public static Byte[] Base64ToTextBytes(String base64)

Decodes a Base64 value to a Text byte array. (E)

Example

C#
using LJCNetCommon;
        
// Decodes a Base64 value to a Text byte array.
public static void Base64ToTextBytes()
{
  // Setup
  string base64 = NetCommon.TextToBase64("Text");

  // Decodes a Base64 value to a Text byte array.
  byte[] textBytes = NetCommon.Base64ToTextBytes(base64);

  // Check the text.
  string text = NetCommon.BytesToText(textBytes);
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.